package com.zy.je.book.module.initimport.calibre.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zy
 * @since 2024-06-20
 */
@Deprecated
@Getter
@Setter
@TableName("custom_columns")
@ApiModel(value = "CustomColumnsEntity对象", description = "")
public class CustomColumnsEntity extends Model<CustomColumnsEntity> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("label")
    private String label;

    @TableField("name")
    private String name;

    @TableField("datatype")
    private String datatype;

    @TableField("mark_for_delete")
    private Integer markForDelete;

    @TableField("editable")
    private Integer editable;

    @TableField("display")
    private String display;

    @TableField("is_multiple")
    private Integer isMultiple;

    @TableField("normalized")
    private Integer normalized;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
